@import '~antd/lib/style/themes/default.less';

.orgEditInfoTitle {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 2px 0 24px 0;
}

.fixCard {
    :global {
        .ant-card-body {
            padding: 30px 24px 0 24px;
        }
    }
}

.nullLabel {
    :global {
        .ant-form-item-label {
            :after {
                content: '';
            }
        }
    }
}

.block {
    position: relative;
    border-radius: 4px;
    background: #F7F7F7;
    padding-top: 28px;
}

.block+.block {
    margin-top: 20px;
}

.del {
    position: absolute;
    right: 0;
    top: -10px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 100%;
    color: #fff;
    font-size: 10px;
    text-align: center;
    width: 20px;
    height: 20px;
    line-height: 20px;
    cursor: pointer;

    &:hover {
        opacity: .8;
    }
}

.add {
    margin-top: 10px;
    text-align: center;
    padding: 6px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
    font-weight: 400;
    cursor: pointer;
    transition: all .5s;

    &:hover {
        color: @primary-color;
        border-color: @primary-color;
    }
}

.addFormListWrap {
    width: 80%;
}

.item {
    margin-bottom: 20px;
}

.upload {
    width: 104px;
    height: 104px;
    border: 1px solid #F2F2F2;

    :global {
        img {
            object-fit: cover;
        }

        .ant-upload-disabled {
            display: block;
        }
    }

    position: relative;
    border-radius: 100%;
    overflow: hidden;
    cursor: pointer;
    flex: 0 0 80px;
    transition: all .5s;

    .text {
        position: absolute;
        left: 0;
        bottom: 0;
        right: 0;
        background: rgba(0, 0, 0, .65);
        color: #fff;
        text-align: center;
        font-size: 12px;
        height: 30px;
        line-height: 25px;
    }

    &:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    }
}

.uploadTips {
    font-weight: 400;
    color: rgba(0, 0, 0, 0.45);
    line-height: 20px;
    margin-top: 10px;
}

.wrapperStyle {
    :global {
        .ant-form-item-control-wrapper {
            width: 31%;
        }
    }
}

.dimensionItem {
    display: flex;
    line-height: 22px;
}

.dimensionName {
    white-space: nowrap;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.8);
}

.feignTextarea {
    max-height: 250px;
    overflow: auto;
    color: rgba(0, 0, 0, 0.25);
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 1;
    line-height: 1.5;
    padding: 4px 11px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
}

@media screen and (max-width: 1200px) {
    .addFormListWrap {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {

    .block {
        padding: 28px 16px 0 16px
    }
}
